<?php

require __DIR__.'/../MTCloud.class.php';

try{
    $MTCloud = new MTCloud(1,'');
    // $result = $MTCloud->videoGetUploadUrl(mt_rand(10000,99999), 2,'abb','123456789012345678901234567890123456',['nickname'=>'w','accountIntro'=>'']);
    $result = $MTCloud->videoGetUploadUrl(12345678910, 2,'视频1','123456789012345678901234567890123456',['nickname'=>'w','accountIntro'=>'']);
    var_dump($result);

}catch(MTCloudException $e){
    var_dump($e->getMessage());
}
